package org.easyelf.pitaya.admin.sys.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import org.easyelf.springmvc.core.base.BaseModel;

import java.math.BigDecimal;


/**
 * @Title: 用户模型类
 * @Description:
 * @Package: org.easyelf.pitaya.admin.sys.entity with IntelliJ IDEA
 * @User: Rehn.gaO
 * @Date: 2017-03-03
 * @Time: ${time}
 */
@TableName("sys_user")
public class SysUser extends BaseModel {
	@TableField(exist = false)
	private static final long serialVersionUID = 1L;
    /**
     * 登录名
     */
	private String username;
    /**
     * 密码
     */
	private String password;
    /**
     * 真实名
     */
	private String realname;
	/**
	 * 拼音
	 */
	private String pinyin;
    /**
     * 邮箱
     */
	private String email;
    /**
     * 联系电话
     */
	private String phone;
    /**
     * 加密类型
     */
	private String hasher;
    /**
     * 加密盐
     */
	private String salt;
    /**
     * 头像
     */
	private String avatar;
    /**
     * 排序
     */
	private BigDecimal sort;


	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getRealname() {
		return realname;
	}

	public void setRealname(String realname) {
		this.realname = realname;
	}

	public String getPinyin() {
		return pinyin;
	}

	public void setPinyin(String pinyin) {
		this.pinyin = pinyin;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getHasher() {
		return hasher;
	}

	public void setHasher(String hasher) {
		this.hasher = hasher;
	}

	public String getSalt() {
		return salt;
	}

	public void setSalt(String salt) {
		this.salt = salt;
	}

	public String getAvatar() {
		return avatar;
	}

	public void setAvatar(String avatar) {
		this.avatar = avatar;
	}

	public BigDecimal getSort() {
		return sort;
	}

	public void setSort(BigDecimal sort) {
		this.sort = sort;
	}

}